package com.zyj.blog.mapper;

import com.zyj.blog.pojo.SysUserRole;
import com.zyj.blog.pojo.SysUserRoleExample;
import java.util.List;

public interface SysUserRoleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysUserRole record);

    int insertSelective(SysUserRole record);

    List<SysUserRole> selectByExample(SysUserRoleExample example);

    SysUserRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUserRole record);

    int updateByPrimaryKey(SysUserRole record);

	List<SysUserRole> findUserRoles(Long id);

	int deleteByUserId(Long id);
}